<template>
    <div class="sidebar">
        <ul>
            <li><router-link to="/home">首页</router-link></li>
            <li><router-link to="/user-control">用户管理</router-link></li>

        </ul>
    </div>
</template>

<script>
export default {};
</script>

<style scoped>
.sidebar {
    width: 200px;
    background-color: #2c3e50;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    margin-bottom: 20px;
}

.sidebar ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #1f2b37;
    border-radius: 5px;
}
</style>